package ru.pb.global.data.model;

public class ClanInfo
{
	private String _name;
	private int _rank, _owner_id, _clanId;
	private ClanLogo _logo;

	public ClanInfo()
	{
		_name = "";
		_rank = 0;
	}

	/**
	 * @param name
	 * @param rank
	 * @param logo
	 */
	public ClanInfo(String name, int rank, ClanLogo logo)
	{
		_name = name;
		_rank = rank;
		_logo = logo;
	}

	public void setClanLogo(ClanLogo logo)
	{
		_logo = logo;
	}

	public ClanLogo getClanLogo()
	{
		return _logo != null ? _logo : new ClanLogo();
	}

	public void setClanRank(int rank)
	{
		_rank = rank;
	}

	public int getClanRank()
	{
		return _rank;
	}

	public void setClanName(String name)
	{
		_name = name;
	}

	public String getClanName()
	{
		return _name;
	}

	public void setOwnerId(int id)
	{
		_owner_id = id;
	}

	public int getOwnerId()
	{
		return _owner_id;
	}

	public void setClanId(int id)
	{
		_clanId = id;
	}

	public int getClanId()
	{
		return _clanId;
	}
}